# -*- coding: utf-8 -*-

from odoo import models, fields, api
from odoo.exceptions import UserError
from odoo.osv import expression
from odoo.tools import float_is_zero


class ProductTemplate(models.Model):
    _inherit = 'product.template'

    substitute_product_id=fields.Many2one('product.product')
    # default_location_id=fields.Many2one('stock.location',string=u'默认库存位置')
